package imitate.mybatis.code.generation.session.defaults;

import imitate.mybatis.code.generation.session.Configuration;
import imitate.mybatis.code.generation.session.CreateSessionFactory;

/**
 * 默认创建session 工厂实现类
 * 
 * @author zhenzhanlong
 *
 */
public class DefaultCreateSessionFactory implements CreateSessionFactory {

	private final Configuration configuration;

	public DefaultCreateSessionFactory(Configuration configuration) {
		this.configuration = configuration;
	}

	public Configuration getConfiguration() {
		return configuration;
	}

}
